package cn.tedu.qxhouserent.house.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("news_content")
public class NewsContent {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String content;
    private Long newsDetailId;
    @JsonFormat(pattern = "yyyy年MM月dd日 HH：mm：ss",timezone = "GMT+8")
    private LocalDateTime gmtModified;
}
